# Tiishaku's spectrwm config

# Bar
bar_enabled			= 1
bar_at_bottom			= 1
bar_font			= drift:pixelsize=9
bar_font_color			= rgb:FE/FE/FE
bar_color			= rgb:41/51/5E
bar_border_width		= 0
bar_border			= rgb:FE/FE/FE
bar_justify			= center

# Workspaces
workspace_limit			= 3
layout				= ws[1]:3:0:0:0:vertical_flip
layout				= ws[2]:0:0:0:0:fullscreen
layout				= ws[3]:0:0:0:0:horizontal

# Gaps
tile_gap			= 9
region_padding			= 9

# Windows decorations
border_width			= 1
color_unfocus			= rgb:41/51/5E
color_unfocus_maximized		= rgb:41/51/5E
color_focus			= rgb:A8/48/48
color_focus_maximized		= rgb:A8/48/48

# Programs
program[term]                   = alacritty
program[ru]                     = setxkbmap ru
program[us]                     = setxkbmap us
program[lock]			= slock

# Bindings
bind[]				= MOD+Shift+Delete
bind[]				= MOD+Shift+Return
bind[] 				= MOD+p 
bind[wind_del]			= MOD+d
bind[float_toggle]		= MOD+f
bind[swap_main]			= MOD+Tab
bind[master_grow]		= MOD+g
bind[master_shrink]		= MOD+s
bind[term]			= MOD+t
bind[menu]			= MOD+r
bind[ws_empty_move]		= MOD+m
bind[flip_layout]		= MOD+l
bind[ru]			= MOD+Shift+r
bind[us]			= MOD+Shift+u
bind[lock]			= MOD+Shift+l
bind[focus_next]		= MOD+n
bind[focus_prev]		= MOD+p

# Autorun
autorun				= ws[1]:feh --bg-scale /home/tshark/img/hnk-smug-ghost-quartz.png
autorun				= ws[1]:xautolock -time 4 -locker slock
autorun				= ws[1]:redshift -l 53.35:83.79 -t 6000:2000
autorun                         = ws[1]:compton --shadow-ignore-shaped -c -r 6 -o 0.25 -t -6 -l -6
autorun				= ws[1]:./bin/con

# Focus
warp_pointer			= 1
